//
//  FQAccount.h
//  WeChat
//
//  Created by 方桥 on 16/5/13.
//  Copyright © 2016年 方桥. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FQAccount : NSObject
/**登录的用户名*/
@property(nonatomic,copy)NSString *user;
/**登录的密码*/
@property(nonatomic,copy)NSString *pwd;
/**注册的用户名*/
@property(nonatomic,copy)NSString *registerUser;
/**注册的密码*/
@property(nonatomic,copy)NSString *registerPwd;
/**判断用户是否登录*/
@property(nonatomic,assign,getter=isLogin)BOOL login;
/**服务器域名*/
@property(nonatomic,copy,readonly)NSString *domain;
/**服务器IP*/
@property(nonatomic,copy,readonly)NSString *host;
/**端口*/
@property(nonatomic,assign,readonly)int port;


+(instancetype)shareAccount;
/**
 *  保存最新的登录用户数据到沙盒
 */
-(void)saveToSandBox;

@end
